package com.das.mechanic_base.bean.main;

import com.das.mechanic_base.bean.live.LiveSelectCarBean;
import com.das.mechanic_base.gen.CarMemberBeanConVerter;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class CarMemberBean {
    @Id(autoincrement = true)
    private Long id;
    /**
     * 手机号 +  字符串"车牌号"
     */
    private String carName;

    @Convert(converter = CarMemberBeanConVerter.class, columnType = String.class)
    private List<LiveSelectCarBean> list;

    public List<LiveSelectCarBean> getList() {
        return this.list;
    }

    public void setList(List<LiveSelectCarBean> list) {
        this.list = list;
    }

    public String getCarName() {
        return this.carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Generated(hash = 1439133090)
    public CarMemberBean(Long id, String carName, List<LiveSelectCarBean> list) {
        this.id = id;
        this.carName = carName;
        this.list = list;
    }

    @Generated(hash = 2051442962)
    public CarMemberBean() {
    }





}
